package com.blobfish.fiction.user.constant;

import com.blobfish.fiction.common.base.knowledge.IMessageEnum;

public enum UserMessageEnum implements IMessageEnum {
    USER_NAME_DUPLICATE("E_USER_NAME_DUPLICATE", "该用户名重复!"),
    USER_NAME_OR_PASSWORD_WRONG("E_USER_NAME_OR_PASSWORD_WRONG", "用户名或密码错误!");

    private String id;
    private String message;

    UserMessageEnum(String id, String message) {
        this.id = id;
        this.message = message;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
